package strategy;

import strategy.abstract_strategy.TravelStrategy;
import strategy.person.Person;
import strategy.utils.XMLUtil;

public class Client {
    public static void main(String[] args) {
        TravelStrategy travelStrategy = (TravelStrategy) XMLUtil.getBean();
        Person person = new Person();
        person.setTravelStrategy(travelStrategy);
        person.travel();
    }
}
